<%@ page 
import="com.hyd.tweet.twitter.OAuthProcessor"%><%@ page 
import="org.slf4j.Logger"%><%@ page 
import="org.slf4j.LoggerFactory"%><%@ page 
contentType="text/plain;charset=UTF-8" language="java" %><%!
    static final Logger log = LoggerFactory.getLogger("jsp.oauth_jsp");
%><%
    try {
        String url = request.getParameter("url");
        String account = request.getParameter("account");
        
        if (url == null || account == null || account.trim().equals("")){
            return;
        }
        
        String result = OAuthProcessor.process(url, account, response);
        out.print(result);
    } catch (Exception e) {
        log.error("验证失败", e);
    }
%>